const { defineConfig } = require('@vue/cli-service')
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin")
module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    externals: {
        './cptable': 'var cptable'
    },
    resolve:{
      fallback:{
        fs:false
      }
    },
    plugins: [
      new NodePolyfillPlugin()
    ]
  }
})
